package gov.chinatax.ctcps.generator.dao.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;

/**
 * @hibernate.class table="ZFZB_CYB"
 * 
 */
public class ZfzbCyb implements Serializable {

	/** identifier field */
	private String cybbh;
	
	/** identifier field */
	private String sczjmxbh;

	/** identifier field */
	private String scsqmxbh;

	/** identifier field */
	private String bczjmxbh;

	/** identifier field */
	private String bcsqmxbh;

	/** persistent field */
	private String nd;

	/** persistent field */
	private String yszbbh;

	/** nullable persistent field */
	private String xmbh;

	/** persistent field */
	private BigDecimal bczjje;

	/** nullable persistent field */
	private BigDecimal bcsqje;

	/** persistent field */
	private BigDecimal sczjje;

	/** nullable persistent field */
	private BigDecimal scsqje;

	/** nullable persistent field */
	private BigDecimal tzje;

	/** persistent field */
	private String dwbh;

	/** nullable persistent field */
	private String zjhfztbh;

	/** nullable persistent field */
	private String zt1;

	/** nullable persistent field */
	private String zt2;




	public ZfzbCyb(String cybbh, String sczjmxbh, String scsqmxbh,
			String bczjmxbh, String bcsqmxbh, String nd, String yszbbh,
			String xmbh, BigDecimal bczjje, BigDecimal bcsqje,
			BigDecimal sczjje, BigDecimal scsqje, BigDecimal tzje, String dwbh,
			String zjhfztbh, String zt1, String zt2) {
		super();
		this.cybbh = cybbh;
		this.sczjmxbh = sczjmxbh;
		this.scsqmxbh = scsqmxbh;
		this.bczjmxbh = bczjmxbh;
		this.bcsqmxbh = bcsqmxbh;
		this.nd = nd;
		this.yszbbh = yszbbh;
		this.xmbh = xmbh;
		this.bczjje = bczjje;
		this.bcsqje = bcsqje;
		this.sczjje = sczjje;
		this.scsqje = scsqje;
		this.tzje = tzje;
		this.dwbh = dwbh;
		this.zjhfztbh = zjhfztbh;
		this.zt1 = zt1;
		this.zt2 = zt2;
	}

	/** default constructor */
	public ZfzbCyb() {
	}

	public String getCybbh() {
		return cybbh;
	}

	public void setCybbh(String cybbh) {
		this.cybbh = cybbh;
	}

	public String getSczjmxbh() {
		return sczjmxbh;
	}

	public void setSczjmxbh(String sczjmxbh) {
		this.sczjmxbh = sczjmxbh;
	}

	public String getScsqmxbh() {
		return scsqmxbh;
	}

	public void setScsqmxbh(String scsqmxbh) {
		this.scsqmxbh = scsqmxbh;
	}

	public String getBczjmxbh() {
		return bczjmxbh;
	}

	public void setBczjmxbh(String bczjmxbh) {
		this.bczjmxbh = bczjmxbh;
	}

	public String getBcsqmxbh() {
		return bcsqmxbh;
	}

	public void setBcsqmxbh(String bcsqmxbh) {
		this.bcsqmxbh = bcsqmxbh;
	}

	public BigDecimal getBczjje() {
		return bczjje;
	}

	public void setBczjje(BigDecimal bczjje) {
		this.bczjje = bczjje;
	}

	public BigDecimal getBcsqje() {
		return bcsqje;
	}

	public void setBcsqje(BigDecimal bcsqje) {
		this.bcsqje = bcsqje;
	}

	public BigDecimal getSczjje() {
		return sczjje;
	}

	public void setSczjje(BigDecimal sczjje) {
		this.sczjje = sczjje;
	}

	public BigDecimal getScsqje() {
		return scsqje;
	}

	public void setScsqje(BigDecimal scsqje) {
		this.scsqje = scsqje;
	}

	public String getNd() {
		return nd;
	}

	public void setNd(String nd) {
		this.nd = nd;
	}

	public String getYszbbh() {
		return yszbbh;
	}

	public void setYszbbh(String yszbbh) {
		this.yszbbh = yszbbh;
	}

	public String getXmbh() {
		return xmbh;
	}

	public void setXmbh(String xmbh) {
		this.xmbh = xmbh;
	}

	public BigDecimal getTzje() {
		return tzje;
	}

	public void setTzje(BigDecimal tzje) {
		this.tzje = tzje;
	}

	public String getDwbh() {
		return dwbh;
	}

	public void setDwbh(String dwbh) {
		this.dwbh = dwbh;
	}

	public String getZjhfztbh() {
		return zjhfztbh;
	}

	public void setZjhfztbh(String zjhfztbh) {
		this.zjhfztbh = zjhfztbh;
	}

	public String getZt1() {
		return zt1;
	}

	public void setZt1(String zt1) {
		this.zt1 = zt1;
	}

	public String getZt2() {
		return zt2;
	}

	public void setZt2(String zt2) {
		this.zt2 = zt2;
	}

	public String toString() {
		return new ToStringBuilder(this).append("cybbh", getCybbh()).toString();
	}

	public boolean equals(Object other) {
		if (!(other instanceof ZfzbCyb))
			return false;
		ZfzbCyb castOther = (ZfzbCyb) other;
		return new EqualsBuilder()
				.append(this.getCybbh(), castOther.getCybbh()).isEquals();
	}

	public int hashCode() {
		return new HashCodeBuilder().append(getCybbh()).toHashCode();
	}

}
